﻿<log4net>
  <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
    <file value="ndatabase.log" />
    <appendToFile value="true" />
    <maximumFileSize value="30MB" />
    <maxSizeRollBackups value="2" />

    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="%level %thread %logger - %message%newline" />
    </layout>
  </appender>

  <!-- Set root logger level to DEBUG and its only appender to A1 -->
  <root>
    <level value="DEBUG" />
    <appender-ref ref="RollingFile" />
  </root>
</log4net>